package com.ujiuye.listener;

import javax.servlet.http.*;
import javax.servlet.annotation.*;

//@WebListener
public class SessionListener implements HttpSessionListener {
    @Override
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("HttpSession对象创建了");
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("HttpSession对象销毁了");
    }
}
